﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using SuperSurvey.DAO;
namespace SuperSurvey.BUS
{
    public class FriendControlBUS
    {
        public static DataTable GetFriendList(string userID) {
            string sp = FriendControlDAO.getSelectFriend;
            SqlParameter[] sqlParameter = FriendControlDAO.GetSelectFriend(userID);
            DataTable table = DatabaseInteraction.GetSelectTable(sp, sqlParameter);
            return table;
        }
    }
}